package com.ruoyi.eamp.domain;

import java.time.LocalDate;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库房管理
对象 eamp_sr_man
 * 
 * @author ruoyi
 * @date 2024-08-08
 */
public class EampSrMan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库房id（编号） */
    private Long srId;

    /** 库房名称 */
    @Excel(name = "库房名称")
    private String srName;

    /** 库房总规格 */
    @Excel(name = "库房总规格")
    private Long srSpecification;

    /** 库房当前规格 */
    @Excel(name = "库房当前规格")
    private Long srCurrentSpecifications;

    /** 库房类型 */
    @Excel(name = "库房类型")
    private Long srType;

    /** 库房状态 */
    @Excel(name = "库房状态")
    private Long srState ;

    /** 库房附件 */
    @Excel(name = "库房附件")
    private String srFile;

    /** 库房地址 */
    @Excel(name = "库房地址")
    private String srAddress;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long srCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime srCreateTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private Long srUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime srUpdateTime;

    /** 库房备注 */
    @Excel(name = "库房备注")
    private String srRemark;

    /** 库房操作 */
    @Excel(name = "库房操作")
    private Long delFlg;

    public EampSrMan(Long srId, String srName, Long srSpecification, Long srCurrentSpecifications, Long srType, Long srState, String srFile, String srAddress, Long srCreateBy, LocalDateTime srCreateTime, Long srUpdateBy, LocalDateTime srUpdateTime, String srRemark, Long delFlg) {
        this.srId = srId;
        this.srName = srName;
        this.srSpecification = srSpecification;
        this.srCurrentSpecifications = srCurrentSpecifications;
        this.srType = srType;
        this.srState = srState;
        this.srFile = srFile;
        this.srAddress = srAddress;
        this.srCreateBy = srCreateBy;
        this.srCreateTime = srCreateTime;
        this.srUpdateBy = srUpdateBy;
        this.srUpdateTime = srUpdateTime;
        this.srRemark = srRemark;
        this.delFlg = delFlg;
    }

    public Long getSrId() {
        return srId;
    }

    public void setSrId(Long srId) {
        this.srId = srId;
    }

    public String getSrName() {
        return srName;
    }

    public void setSrName(String srName) {
        this.srName = srName;
    }

    public Long getSrSpecification() {
        return srSpecification;
    }

    public void setSrSpecification(Long srSpecification) {
        this.srSpecification = srSpecification;
    }

    public Long getSrCurrentSpecifications() {
        return srCurrentSpecifications;
    }

    public void setSrCurrentSpecifications(Long srCurrentSpecifications) {
        this.srCurrentSpecifications = srCurrentSpecifications;
    }

    public Long getSrType() {
        return srType;
    }

    public void setSrType(Long srType) {
        this.srType = srType;
    }

    public Long getSrState() {
        return srState;
    }

    public void setSrState(Long srState) {
        this.srState = srState;
    }

    public String getSrFile() {
        return srFile;
    }

    public void setSrFile(String srFile) {
        this.srFile = srFile;
    }

    public String getSrAddress() {
        return srAddress;
    }

    public void setSrAddress(String srAddress) {
        this.srAddress = srAddress;
    }

    public Long getSrCreateBy() {
        return srCreateBy;
    }

    public void setSrCreateBy(Long srCreateBy) {
        this.srCreateBy = srCreateBy;
    }

    public LocalDateTime getSrCreateTime() {
        return srCreateTime;
    }

    public void setSrCreateTime(LocalDateTime srCreateTime) {
        this.srCreateTime = srCreateTime;
    }

    public Long getSrUpdateBy() {
        return srUpdateBy;
    }

    public void setSrUpdateBy(Long srUpdateBy) {
        this.srUpdateBy = srUpdateBy;
    }

    public LocalDateTime getSrUpdateTime() {
        return srUpdateTime;
    }

    public void setSrUpdateTime(LocalDateTime srUpdateTime) {
        this.srUpdateTime = srUpdateTime;
    }

    public String getSrRemark() {
        return srRemark;
    }

    public void setSrRemark(String srRemark) {
        this.srRemark = srRemark;
    }

    public Long getDelFlg() {
        return delFlg;
    }

    public void setDelFlg(Long delFlg) {
        this.delFlg = delFlg;
    }

    public EampSrMan() {
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("srId", getSrId())
            .append("srName", getSrName())
            .append("srSpecification", getSrSpecification())
            .append("srCurrentSpecifications", getSrCurrentSpecifications())
            .append("srType", getSrType())
            .append("srState", getSrState())
            .append("srFile", getSrFile())
            .append("srAddress", getSrAddress())
            .append("srCreateBy", getSrCreateBy())
            .append("srCreateTime", getSrCreateTime())
            .append("srUpdateBy", getSrUpdateBy())
            .append("srUpdateTime", getSrUpdateTime())
            .append("srRemark", getSrRemark())
            .append("delFlg", getDelFlg())
            .toString();
    }
}
